package com.cfpl.admin_vegetable_service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cfpl.project_common.pojo.VegetableEntry;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author 14720
* @description 针对表【vegetable_entry(果蔬进场)】的数据库操作Service
* @createDate 2023-11-02 10:16:29
*/
public interface VegetableEntryService extends IService<VegetableEntry> {

    /**
     * 条件分页查询进场记录信息
     * @param page 分页对象
     * @param condition 查询条件
     * @return
     */
    IPage<VegetableEntry> pageQueryVegetableEntryRecord(IPage<VegetableEntry> page, String condition);

    boolean insertVegetableEntryRecord(VegetableEntry vegetableEntry);

    /**
     * 模糊查询批次编号
     * @param fuzzyId 模糊ID
     */
    Map<String,String> fuzzySearchPurchaseBatchID(String fuzzyId);

}
